package com.zhixi.pattern.important.templatemethodpattern.operation;

/**
 * @作者 ShuHaoNan
 * @邮箱 shuhaonan1@gmail.com
 * @时间 2020/11/15 16:31
 */
public class Person1 extends PersonTemplate {

    @Override
    protected void eat() {
        System.out.println("吃饭");
    }

    @Override
    protected void sleep() {
        System.out.println("睡觉");
    }

    @Override
    protected void behavior() {
        System.out.println("开会");
    }

}
